Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[NayNay] Fixing register tests #194

Merged
merged 3 commits into from
Jul 24, 2024
Merged

[NayNay] Fixing register tests #194

merged 3 commits into from
Jul 24, 2024

Conversation

rh0delta
Copy link
Contributor

Related Issue(s)

  • Resolves #[issue_number]

Proposed Changes

  • mistakingly tested the wrong register method
  • fixed it

Testing

  • Unit tests added/updated
  • Integration tests added/updated
  • Manual testing performed

Screenshots (if applicable)

Additional Context

Checklist

  • I have performed a self-review of my code.
  • I have added tests.
  • I have commented my code.
  • I have included a CHANGELOG.md entry.
  • I have updated documentation in github.com:entropyxyz/entropy-docs, where necessary.

- mistakingly tested the wrong register method
- fixed it
@rh0delta
Copy link
Contributor Author

@mixmix I have updated the test to use the correct, and newly created, register method. This should satisfy the requirement to test the custom program functionality

Comment on lines +32 to 35
'register - using custom params',
register(entropy, {
programModAddress: entropy.keyring.accounts.registration.address,
programData: [{ program_pointer: pointer, program_config: '0x' }],
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is the fix to review, the rest is cleanup

@mixmix mixmix merged commit 03b9f1b into dev Jul 24, 2024
1 check passed
@mixmix mixmix deleted the naynay/fix-register branch July 24, 2024 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants